package data;

import static org.junit.Assert.*;

import org.junit.Test;

import utils.TestingTools;

public class DataTestingTools {
	
	@Test
	public static void assertDataEquals(Data expected, Data actual, double tolerance){
		assertEquals(expected.getDataName(), actual.getDataName());
		assertArrayEquals(expected.getColumnNames(), actual.getColumnNames());
		assertArrayEquals(expected.getIndependent(), actual.getIndependent(), 0);
		TestingTools.assert2DArrayEquals(expected.getDependents(), actual.getDependents(), 0);
	}

}
